package com.twotiger.and.bean;

import java.io.Serializable;

/**
 * 卡劵
 * @Description: TODO(这里描述这个类的作用) 
 * @Author douxy
 * @Date 2015年8月17日 下午3:44:51
 */
public class Coupon implements Serializable {
    /**  */
    private static final long serialVersionUID = 9080617452656836190L;
    private String caId;
    private int awardType;
    private double awardValue;
    private String useConditionDesc;
    private String useCondition;
    private String description;
    private String name;
    private String awardTypeName;
    private String awardName;
    private int status;
    private String ctime;
    private String utime;
    private String statusName;
    private String invalidTime;
    private String useTime;
    private String addInterest;

    public boolean isSelected = false;

    public String getAddInterest() {
        return addInterest;
    }

    public void setAddInterest(String addInterest) {
        this.addInterest = addInterest;
    }

    public String getUseCondition() {
        return useCondition;
    }

    public void setUseCondition(String useCondition) {
        this.useCondition = useCondition;
    }

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getUtime() {
        return utime;
    }

    public void setUtime(String utime) {
        this.utime = utime;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getInvalidTime() {
        return invalidTime;
    }

    public void setInvalidTime(String invalidTime) {
        this.invalidTime = invalidTime;
    }

    public String getUseTime() {
        return useTime;
    }

    public void setUseTime(String useTime) {
        this.useTime = useTime;
    }

    public String getAwardTypeName() {
        return awardTypeName;
    }

    public void setAwardTypeName(String awardTypeName) {
        this.awardTypeName = awardTypeName;
    }

    public String getAwardValueSuffix() {
        if (getAwardType() == 1) {
            return "%";
        } else {
            return "元";
        }
        //return awardValueSuffix;
    }

    public void setAwardValueSuffix(String awardValueSuffix) {
        this.awardValueSuffix = awardValueSuffix;
    }

    private String awardValueSuffix;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAwardType() {
        return awardType;
    }

    public void setAwardType(int awardType) {
        this.awardType = awardType;
    }

    public double getAwardValue() {
        return awardValue;
    }

    public void setAwardValue(Double awardValue) {
        this.awardValue = awardValue;
    }

    public String getCaId() {
        return caId;
    }

    public void setCaId(String caId) {
        this.caId = caId;
    }

    public String getUseConditionDesc() {
        return useConditionDesc;
    }

    public void setUseConditionDesc(String useConditionDesc) {
        this.useConditionDesc = useConditionDesc;
    }

    public String getAwardName() {
        return awardName;
    }

    public void setAwardName(String awardName) {
        this.awardName = awardName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
